package com.hooya.fa.eu.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hooya.fa.eu.biz.dao.entity.StkOriginCollect;
import com.hooya.fa.eu.biz.dao.entity.TradeRecord;

import java.util.List;

/**
 * @Description 买卖记录
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2023/11/28
 * @Version 1.0.0
 */
public interface TradeRecordService extends IService<TradeRecord> {

    /**
     * b2b
     *
     * @param startDate
     * @param endDate
     */
    void getB2bData(String startDate, String endDate);

    /**
     * b2c
     *
     * @param startDate
     * @param endDate
     */
    void getB2cData(String startDate, String endDate);

    /**
     * 报损
     *
     * @param startDate
     * @param endDate
     */
    void getBsData(String startDate, String endDate);

    /**
     * 采购
     *
     * @param startDate
     * @param endDate
     */
    void getCgData(String startDate, String endDate);

    /**
     * 退货
     *
     * @param startDate
     * @param endDate
     */
    void getThData(String startDate, String endDate);

    /**
     * 转运
     *
     * @param startDate
     * @param endDate
     */
    void getZyData(String startDate, String endDate);

    /**
     * mybatis自带方法 [方法抽离]
     *
     * @param res
     */
    void insertBatchSomeColumnStk(List<StkOriginCollect> res);
}
